package com.example.backend.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

// 商品制造信息表实体类
@Data
@TableName("product_manufacture")
public class ProductManufacture {
    // 商品批次ID，唯一标识
    @TableId(value = "batch_id", type = IdType.NONE)
    private String batchId;
    
    // 商品名称
    @TableField("product_name")
    private String productName;
    
    // 生产商账号ID
    @TableField("manufacturer_id")
    private String manufacturerId;
    
    // 质检信息：0-未通过，1-通过
    @TableField("quality_inspection")
    private Integer qualityInspection;
    
    // 商品生产时间戳
    @TableField("production_time")
    private LocalDateTime productionTime;
}